<template>
  <div class="wrap">
    <div class="header">
      <div class="left">
        <img src class="headerUrl" alt />
        <div class="center">
          <div>
            <p>乔治马丁</p>
            <span>订单数：5</span>
          </div>
          <p>今晚风大，请与点后取货</p>
        </div>
      </div>
      <div class="func">
        <p>取消关注</p>
        <p>查看商圈</p>
      </div>
    </div>
    <div class="centers">
      <div class="b-tit">
        <p>暂无物流信息</p>
        <img src="../assets/right.png" alt />
      </div>
      <div class="item">
        <div class="item-left">
          <img src class="avi" alt />
          <div class="productInfo">
            <p>规格：42</p>
            <p>价格：￥500</p>
            <p>
              商家备注：
              <span style="color:#FF536B;">明天</span>
            </p>
          </div>
        </div>
      </div>
      <div class="item">
        <div class="item-left">
          <img src class="avi" alt />
          <div class="productInfo">
            <p>规格：42</p>
            <p>价格：￥500</p>
            <p>
              商家备注：
              <span style="color:#FF536B;">明天</span>
            </p>
          </div>
        </div>
      </div>
      <div class="item">
        <div class="item-left">
          <img src class="avi" alt />
          <div class="productInfo">
            <p>规格：42</p>
            <p>价格：￥500</p>
            <p>
              商家备注：
              <span style="color:#FF536B;">明天</span>
            </p>
          </div>
        </div>
      </div>
    </div>
    <div class="centers">
      <div class="b-tit">
        <p>中通快递：666666666666</p>
        <img src="../assets/right.png" alt />
      </div>
      <div class="item">
        <div class="item-left">
          <img src class="avi" alt />
          <div class="productInfo">
            <p>规格：42</p>
            <p>价格：￥500</p>
            <p>
              商家备注：
              <span style="color:#FF536B;">明天</span>
            </p>
          </div>
        </div>
      </div>
      <div class="item">
        <div class="item-left">
          <img src class="avi" alt />
          <div class="productInfo">
            <p>规格：42</p>
            <p>价格：￥500</p>
            <p>
              商家备注：
              <span style="color:#FF536B;">明天</span>
            </p>
          </div>
        </div>
      </div>
      <div class="item">
        <div class="item-left">
          <img src class="avi" alt />
          <div class="productInfo">
            <p>规格：42</p>
            <p>价格：￥500</p>
            <p>
              商家备注：
              <span style="color:#FF536B;">明天</span>
            </p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.wrap {
  background: #f7f7f7;
  width: 100%;
  height: 100vh;
}
.header {
  height: 2.186667rem;
  padding: 0 0.4rem 0.4rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .left {
    display: flex;
    align-items: center;
  }
  .headerUrl {
    width: 1.466667rem;
    height: 1.466667rem;
    border-radius: 50%;
    display: block;
    margin-top: 0.373333rem;
    background: #f00;
  }
  .center {
    margin-left: 0.4rem;
    div {
      display: flex;
      align-items: flex-end;
      margin-top: 15px;
      p {
        color: #555;
        font-size: 0.48rem;
      }
      span {
        color: #999;
        font-size: 0.293333rem;
      }
    }
    p {
      color: #555;
      font-size: 0.266667rem;
      text-align: left;
    }
  }
  .func {
    margin-top: 15px;
    p:nth-of-type(1) {
      width: 2.24rem;
      height: 0.6rem;
      border: 2px solid rgba(63, 217, 201, 1);
      color: #719BEF;
      border-radius: 0.4rem;
      font-size: 0.373333rem;
      text-align: center;
      line-height: 0.6rem;
      margin-bottom: 0.266667rem;
    }
    p:nth-of-type(2) {
      width: 2.24rem;
      height: 0.6rem;
      background: rgba(63, 217, 201, 1);
      color: #fff;
      border-radius: 0.4rem;
      font-size: 0.373333rem;
      text-align: center;
      line-height: 0.6rem;
    }
  }
}
.centers {
  width: 9.466667rem;
  background: #fff;
  overflow-y: scroll;
  margin: 0.186667rem auto 0.4rem;
  border-radius: 0.266667rem;
  .b-tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.2rem;
    p {
      color: #555;
      font-size: 0.346667rem;
      font-weight: bold;
      margin-left: 0.133333rem;
    }
    img {
      width: 0.5rem;
      height: 0.5rem;
      margin-right: 10px;
    }
  }
  .item {
    width: 9.466667rem;
    padding-bottom: 10px;

    overflow: hidden;
    display: flex;
    justify-content: space-between;
    .item-left {
      display: flex;
    }
    .avi {
      width: 2rem;
      height: 2rem;
      border-radius: 0.266667rem;
      margin: 0.173333rem 0.306667rem 0 0.133333rem;
      background: blue;
      display: block;
    }
    .productInfo {
      margin-top: 0.4rem;
      p {
        color: #555;
        font-size: 0.32rem;
        text-align: left;
      }
      p:nth-of-type(2) {
        margin-top: 0.133333rem;
        margin-bottom: 0.186667rem;
      }
    }
    .item-right {
      display: flex;
      .state {
        width: 2.4rem;

        p:nth-of-type(1) {
          color: #ff536b;
          font-size: 0.426667rem;
          text-align: center;
          margin-top: 0.266667rem;
          margin-bottom: 0.56rem;
        }
        p:nth-of-type(2) {
          width: 2.213333rem;
          height: 0.573333rem;
          border-radius: 0.266667rem;
          text-align: center;
          background: #719BEF;
          font-size: 0.373333rem;
          line-height: 0.573333rem;
          color: #fff;
        }
      }
      .radio {
        width: 0.453333rem;
        height: 0.453333rem;
        border-radius: 50%;
        display: block;
        background: #719BEF;
        margin-right: 0.266667rem;
        margin-top: 0.3rem;
      }
    }
  }
}
</style>
<script>
export default {
  created() {
    document.title = "取货单";
  },
  methods: {
    next() {
      this.$router.push("/submitOrder");
    }
  }
};
</script>